﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Nissen_Marking.Forms
{
    public partial class FormDateSelect : Form
    {
        private FormAnswerPaper vform;
        public FormDateSelect(FormAnswerPaper form)
        {
            InitializeComponent();

            vform = form;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            vform.ParaDate =
                this.dateTimePicker1.Value.ToString("yyyyMMdd");
            this.Close();
        }
    }
}
